package com.module.font.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpSession;

@Controller
@RequestMapping("/font")
public class IndexController {
    private String PATH="front-end";


    @RequestMapping("")
    public String index(){
        return  PATH+"/index.btl";
    }


    @RequestMapping("/userhome")
    public String userhome() {
        return "front-end/userhome.btl";
    }

    @RequestMapping("/userEdit")
    public String userEdit() {
        return "front-end/userEdit.btl";
    }

    @RequestMapping("/views")
    public String views() {
        return "front-end/views.btl";
    }

    @RequestMapping("/address")
    public String address() {
        return "front-end/address.btl";
    }

    @RequestMapping("/buynow")
    public String buynow() {
        return "front-end/buynow.btl";
    }

    @RequestMapping("/buySuccess")
    public String buySuccess() {
        return "front-end/buySuccess.btl";
    }

    @RequestMapping("/category")
    public String category() {
        return "front-end/category.btl";
    }

    @RequestMapping("/category_list")
    public String category_list() {
        return "front-end/category_list.btl";
    }

    @RequestMapping("/create")
    public String create() {
        return "front-end/create.btl";
    }

    @RequestMapping("/login")
    public String login() {
        return "front-end/login.btl";
    }

    @RequestMapping("/shopcart")
    public String shopcart() {
        return "front-end/shopcart.btl";
    }
    @RequestMapping("/forgetPw")
    public String forgetPw() {
        return "front-end/forgetPw.btl";
    }
    @RequestMapping("/findPw")
    public String findPw() {
        return "front-end/findPw.btl";
    }

    @RequestMapping("/nav/_nav_bottom")
    public String _nav_bottom() {
        return "front-end//nav/_nav_bottom.btl";
    }
}
